github.com/google/go-cmp/cmp.diffStats.NumInserted (field)
12 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L427: lastStats(2).NumInserted++
report_slices.go#L429: ny := appendChunks(vy.Slice(0, ds.NumIdentical+ds.NumInserted+ds.NumModified), diffInserted)
report_slices.go#L469: lastStats('!').NumInserted++
report_slices.go#L516: hadX, hadY := prev.NumRemoved > 0, prev.NumInserted > 0
report_slices.go#L517: hasX, hasY := next.NumRemoved > 0, next.NumInserted > 0
report_slices.go#L565: ny := ds.NumIdentical + ds.NumInserted + ds.NumModified
report_slices.go#L608: groups[i] = diffStats{Name: ds.Name, NumRemoved: nx, NumInserted: ny}
report_text.go#L370: NumInserted int
report_text.go#L380: return s.NumRemoved + s.NumInserted + s.NumModified
report_text.go#L388: s.NumInserted += ds.NumInserted
report_text.go#L402: counts := [...]int{s.NumIgnored, s.NumIdentical, s.NumRemoved, s.NumInserted, s.NumModified}